import request from '@/utils/request'

export function getList(data,studentId) {
  return request({
    url: '/student/querySelectedCourse/'+studentId,
    method: 'post',
    data
  })
}
export function queryCourse(data,userId,majorId) {
  return request({
    url: '/student/queryCourse/'+userId+'/'+majorId,
    method: 'post',
    data
  })
}
export function selectCourse(data) {
  return request({
    url: '/student/selectCourse',
    method: 'post',
    data
  })
}

export function deleteCourse(csId) {
  return request({
    url: '/student/deleteCourse/'+csId,
    method: 'post',
  })
}